home *** CD-ROM | disk | FTP | other *** search
- ;This is the binding which gives origami a vi look and feel
- ;This is not vi, it cannot be vi due to the fact that folding is possible,
- ;and to a completely different handling of options which
- ;vi would set with :set
-
- ;If you want folding for vi, this is not it
- ;If you want a folding editor which feels like vi during *normal*
- ;use, then this is for you
-
- ;v is the prefix for all fold manipulations except fold creation
-
- ;The basics are
-
- ;vo open
- ;ve enter
- ;vc close
- ;vA attach file to fold
-
- ;help is H in command mode and motion mode
- ;insert mode does not need any help!
-
- ;Until I get round to documenting this, the file vi-fun/modes will have to do....
- ;(sorry)
-
- ;some of the features are not yet implemented (marked with *)
- {{{ ;There are bugs:-
- ;There are bugs:-
-
- ; the binding is not complete
- ; - undo does not yet work reasonably
- ; - undo will never work exactly as in vi and still be efficient
- ; - syntax for delete and yank are not as vi - they have been modified to suit the
- ; folding style of the editor / simplify my finite state machine.
- ; dd works as expected
- ; 'dw' does not delete anything, but puts you into a motion mode which you then
- ; end with 'd' so Delete Word is `dwd`. This can be extended across lines.
- ; djjjjd deletes 4 complete lines
- ; dwwwd deletes 3 words.
- ; d3wd should also delete 3 words
- ; D<motion>D deletes exactly the characters, and not the lines, as one sometimes
- ; needs this
-
- ; yy YY work similarly
- ; >> and << only work on lines :->
- ; V<motion>V folds part of the text
- }}}
- {{{ ;There are features:-
- ;There are features:-
-
- ; - (in production) Novice and advanced modes
- ; * A user in novice mode can use cursor keys in insert mode, which is the default at
- ; startup. Command mode is reached with $esc $esc
- ; A user in advanced mode cannot, but only needs to press escape once to leave
- ; insert mode.
- }}}
-